# encoding: utf-8

require 'rubygems'
require 'test/unit'
require File.dirname(__FILE__) + '/../../../lib/capevaluation'

class Test_Service_Discover < Test::Unit::TestCase

  def setup
  end

  def teardown

  end

  # 调用微服务的例子
  #def test_001_get_available_service
  #  service = CaiQiu::Support::ServiceDiscover.get_available_service('example')
  #end

  #def test_002_module_invoke
  #  params = {
  #      'cmd' => 'example'
  #  }
  #  service = CaiQiu::Support::ServiceDiscover.module_invoke(params)
  #  puts service.inspect
  #end

end
